<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Axin图书管理系统 - 登录</title>
    <link rel="shortcut icon" href="static/img/mcro.png"/>
    <link rel="stylesheet" type="text/css" href="static/css/login.css"/>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        button {
            cursor: pointer;
        }
    </style>
</head>
<body>
<div class="login-page">
    <div class="login-content">
        <h1 class="login-title">Axin图书管理系统</h1>
        <div class="login-box">
            <h3>请登录</h3>
            <div class="login-form">
                <form id="login_form" action="/loginCheck" method="post">
                    <input name="username" type="text" placeholder="请输入用户名">
                    <input name="password" type="password" placeholder="请输入密码">
                    <button onclick="return validate_form(this);">登 录</button>
                </form>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">
    // 定义全局上下文路径变量
    var contextPath = '<%=request.getContextPath()%>';
</script>
<script type="text/javascript" src="static/library/common.js"></script>
<script type="text/javascript" src="static/library/cookie.js"></script>
<script type="text/javascript" src="static/library/jquery.min.js"></script>
<script type="text/javascript" src="static/library/layer/layer.js"></script>
<script type="text/javascript" src="static/js/login.js"></script>
</body>
</html>
